﻿// HtaHelperXPropPage.cpp : CHtaHelperXPropPage 属性页类的实现。

#include "pch.h"
#include "framework.h"
#include "HtaHelperX.h"
#include "HtaHelperXPropPage.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif

IMPLEMENT_DYNCREATE(CHtaHelperXPropPage, COlePropertyPage)

// 消息映射

BEGIN_MESSAGE_MAP(CHtaHelperXPropPage, COlePropertyPage)
END_MESSAGE_MAP()

// 初始化类工厂和 guid

IMPLEMENT_OLECREATE_EX(CHtaHelperXPropPage, "MFCACTIVEXCONT.HtaHelperXPropPage.1",
	0x7720be0a,0x3401,0x4ce9,0xb2,0x52,0xef,0xa4,0x1e,0x21,0xf5,0x57)

// CHtaHelperXPropPage::CHtaHelperXPropPageFactory::UpdateRegistry -
// 添加或移除 CHtaHelperXPropPage 的系统注册表项

BOOL CHtaHelperXPropPage::CHtaHelperXPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_HTAHELPERX_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, nullptr);
}

// CHtaHelperXPropPage::CHtaHelperXPropPage - 构造函数

CHtaHelperXPropPage::CHtaHelperXPropPage() :
	COlePropertyPage(IDD, IDS_HTAHELPERX_PPG_CAPTION)
{
}

// CHtaHelperXPropPage::DoDataExchange - 在页和属性间移动数据

void CHtaHelperXPropPage::DoDataExchange(CDataExchange* pDX)
{
	DDP_PostProcessing(pDX);
}

// CHtaHelperXPropPage 消息处理程序
